package cn.mxh.pethspt.entity;

/**
 * 商品实体类
 */
public class ShopIng {
    private Integer sId; // 商品ID
    private String sName; // 商品名称
    private double sPrice; // 商品卖家
    private double s; // 商品进价
    private String sIntroduce; // 商品介绍
    private String sImgSrc; // 图片路径
    private Integer hId; // 医院id
    private Integer stId; // 商品类别Id

    /**
     * 无参构造方法
     */
    public ShopIng(){}

    /**
     * 带参构造方法
     * @param sId
     * @param sName
     * @param sPrice
     * @param s
     * @param sIntroduce
     * @param sImgSrc
     * @param hId
     * @param stId
     */
    public ShopIng(Integer sId, String sName, double sPrice, double s, String sIntroduce, String sImgSrc, Integer hId, Integer stId) {
        this.sId = sId;
        this.sName = sName;
        this.sPrice = sPrice;
        this.s = s;
        this.sIntroduce = sIntroduce;
        this.sImgSrc = sImgSrc;
        this.hId = hId;
        this.stId = stId;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public double getsPrice() {
        return sPrice;
    }

    public void setsPrice(double sPrice) {
        this.sPrice = sPrice;
    }

    public double getS() {
        return s;
    }

    public void setS(double s) {
        this.s = s;
    }

    public String getsIntroduce() {
        return sIntroduce;
    }

    public void setsIntroduce(String sIntroduce) {
        this.sIntroduce = sIntroduce;
    }

    public String getsImgSrc() {
        return sImgSrc;
    }

    public void setsImgSrc(String sImgSrc) {
        this.sImgSrc = sImgSrc;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public Integer getStId() {
        return stId;
    }

    public void setStId(Integer stId) {
        this.stId = stId;
    }

    @Override
    public String toString() {
        return "ShopIng{" +
                "sId=" + sId +
                ", sName='" + sName + '\'' +
                ", sPrice=" + sPrice +
                ", s=" + s +
                ", sIntroduce='" + sIntroduce + '\'' +
                ", sImgSrc='" + sImgSrc + '\'' +
                ", hId=" + hId +
                ", stId=" + stId +
                '}';
    }
}
